package cn.itcast.dao;

import cn.itcast.pojo.OrderSetting;

import java.util.Date;
import java.util.List;
import java.util.Map;

/*
 *Author:TH
 *Dete:2019/10/2315:24
 */
public interface OrderSettingDao {

    //查询当日预约
    long findByDate(Date orderDate);
    //修改当日预约设置
    void editOrderSetting(OrderSetting orderSetting);
    //添加当日预约设置
    void addOrderSetting(OrderSetting orderSetting);

    //查询当前月份预约设置
    List<OrderSetting> getOrderSettingByMonth(Map map);

    //查询当日预约情况
    OrderSetting findByOrderDate(Date date);

    public void add(OrderSetting orderSetting);

    //更新已预约人数
    public void editReservationsByOrderDate(OrderSetting orderSetting);



}
